<div data-ng-init="initAttSearch('cfjc',
    {url:'/sz_jc/MapServer/0',
    infoTemplateTitle:'森林采伐详情',
    infoTemplateContent:'cfjc_temp',
    medname:'zyjc_zy_jg2018',
    fieldUseZh:false,
    infoWindowWidth:340,
    infoWindowHeiht:240,
    pageSize:7});">

    <div id="cfjc_temp" style="display:none">
        <div class="container">
            <table width="100%" class="table-b">
                <tr> <td width="40%" style="text-align: right;" >乡:</td> <td width="60%" style="text-align: left;">~{XIANG_DESC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >村:</td> <td width="60%" style="text-align: left;">~{CUN_DESC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >林班:</td> <td width="60%" style="text-align: left;">~{LIN_BAN}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >小班:</td> <td width="60%" style="text-align: left;">~{XIAO_BAN}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >地类:</td> <td width="60%" style="text-align: left;">~{DI_LEI_DESC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >森林类别:</td> <td width="60%" style="text-align: left;">~{SEN_LIN_LB_DESC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >面积:</td> <td width="60%" style="text-align: left;">~{MIAN_JI}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >项目名称:</td> <td width="60%" style="text-align: left;">~{XMMC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >变化原因:</td> <td width="60%" style="text-align: left;">~{BHYY_DESC}</td> </tr>

                <tr> <td width="40%" style="text-align: right;" >采伐证号:</td> <td width="60%" style="text-align: left;">~{CF_ZH}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >采伐审核面积:</td> <td width="60%" style="text-align: left;">~{CF_SHMJ}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >审核（批）机关:</td> <td width="60%" style="text-align: left;">~{CF_JG}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >审核（批）时间:</td> <td width="60%" style="text-align: left;">~{CF_SJ}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >审核（批）面积:</td> <td width="60%" style="text-align: left;">~{LDSP_MJ}</td> </tr>

                <tr> <td width="40%" style="text-align: right;" >备注:</td> <td width="60%" style="text-align: left;">~{BZ}</td> </tr>
                <!-- <tr> <td width="40%" style="text-align: right;" >照片:</td> <td width="60%" style="text-align: left;">~{ZP}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >附件:</td> <td width="60%" style="text-align: left;">~{FJ}</td> </tr> -->
                <tr> <td width="40%" style="text-align: right;" >核查状态:</td> <td width="60%" style="text-align: left;">~{HCZT_DESC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >核实人员:</td> <td width="60%" style="text-align: left;">~{HSRY}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >核实时间:</td> <td width="60%" style="text-align: left;">~{HSSJ}</td> </tr>
            </table>
        </div>
    </div>

    <div class="search" ng-show="searchOpen">
        <h4 class="title">森林采伐查询</h4>
        <div class="zs-form-tab">
            <table width="100%">
                <tbody>
                    <tr>
                        <td class="right" width="28%">乡</td>
                        <td>
                            <ag-Combobox class="zs-input" style="width:204px;height: 28px;"
                                         fn='rXIANG'
                                         para="{	uDictionary:true,
                                                    dictionary:'p_administrative',
                                                    nfn:'rCUN',
                                                    pDicId:'440307',
                                                    pidField:'pid'}"
                                         ng-model='gisObject.cfjc.attribute["XIANG"]'
                                         text-Value="xiang" />
                        </td>
                    </tr>
                    <tr>
                        <td class="right" width="28%">村</td>
                        <td>
                            <ag-Combobox class="zs-input" style="width:204px;height: 28px;"
                                         fn='rCUN'
                                         para="{	uDictionary:true,
                                                    dictionary:'p_administrative',
                                                    pfn:'rXIANG',
                                                    pidField:'pid'}"
                                         ng-model='gisObject.cfjc.attribute["CUN"]'
                                         text-Value="cun" />
                        </td>
                    </tr>

                    <tr>
                        <td class="right" width="28%">项目名称</td>
                        <td>
                            <input class="zs-input" type="text"
                                   ng-model='gisObject.cfjc.attribute["XMMC"]'>
                        </td>
                    </tr>
                    <tr>
                        <td class="right" width="28%">采伐证号</td>
                        <td>
                            <input class="zs-input" type="text" 
                                ng-model='gisObject.cfjc.attribute["CF_ZH"]'>
                        </td>
                    </tr>

                    <tr>
                        <td class="right" width="28%"></td>
                        <td style="text-align:left;">
                            <label><input type="checkbox" ng-model="gisObject.cfjc.extent" ng-true-value="true" ng-false-value="false">视图范围内查询</label>
                        </td>
                    </tr>
                    <tr>
                        <td class="center" colspan="2">
                            <input type="button" name="ok" value="查询" class="zs-btn" 
                                ng-click="attSearchEx('cfjc','4') && setSearchOpen(false);">
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="result ng-hide" ng-show="!searchOpen">
        <a class="back" ng-click="clearSearchResult('cfjc');setSearchOpen(true);">返回</a>
        <ul class="list">
            <li class="item" ng-repeat="result in gisObject.cfjc.pageList"
                ng-mousemove="highFeatureSelectGraphic(result.attributes._guid);" 
                ng-mouseleave="featureSelectGraphic(result.attributes._guid);">
                <p><a ng-click="setGraphicExtent(result.attributes._guid);showInfoWindow(result.attributes._guid);">
                    {{result.attributes['XIANG_DESC']}} - {{result.attributes['CUN_DESC']}} -
                    {{result.attributes['LIN_BAN']}}林班 - {{result.attributes['XIAO_BAN']}}小班
                </a></p>
                <p>
                    地类:{{result.attributes['DI_LEI_DESC']}} - 面积:{{result.attributes['MIAN_JI']}}(公顷)
                </p>
                <p>
                    森林类别:{{result.attributes['SEN_LIN_LB_DESC']}}
                </p>
            </li>
        </ul>
        <ag-Gis-Page fn='cfjc'></ag-Gis-Page>
    </div>
</div>